import {ref} from "vue";
import source_to_subjects from "@/hock/public/source_to_subjects";

export default function submit_result(data){
    const subjects = ref(null)
    const leads = ref({})

    const subjects_leads = source_to_subjects(data)
    subjects.value = subjects_leads.subjects
    leads.value = subjects_leads.leads

    return{
        subjects,
        leads
    }
}
